package com.grace.cms.forum.record.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.grace.cms.common.domain.entity.CmsRecordCount;
import com.grace.cms.forum.record.domain.CmsCollectRecord;
import com.grace.cms.forum.record.domain.CmsLikeRecord;
import com.grace.cms.forum.record.domain.CmsNastyRecord;
import com.grace.cms.forum.record.domain.CmsScoreRecord;
import com.grace.cms.forum.record.domain.CmsShareRecord;
import com.grace.cms.forum.record.domain.vo.CmsRecordVo;
import com.grace.cms.common.domain.entity.CmsLookRecord;

public interface CmsRecordMapper {

  CmsRecordCount selectCmsRecordCountById(@Param("recordId") String recordId,@Param("themeName")String themeName,@Param("onlyCode")String OnlyCode);

  List<CmsRecordCount> listCmsRecordCount(@Param("recordId") String recordId,@Param("themeName")String themeName,@Param("onlyCode")String OnlyCode);

  List<CmsCollectRecord> listCollectRecord(CmsCollectRecord collectRecord);

  List<CmsLikeRecord> listLikeRecord(CmsLikeRecord likeRecord);

  List<CmsLookRecord> listLookRecord(CmsLookRecord lookRecord);

  List<CmsNastyRecord> listNastyRecord(CmsNastyRecord nastyRecord);

  List<CmsScoreRecord> listScoreRecord(CmsScoreRecord scoreRecord);

  List<CmsShareRecord> listShareRecord(CmsShareRecord shareRecord);

  CmsRecordVo selectCmsRecordVo(@Param("recordId") String recordId,@Param("createBy") String createBy,@Param("themeName")String themeName,@Param("onlyCode")String onlyCode);

}
